if(tasks == undefined) {
    var tasks = {};
}

tasks.tasks = function() {
    return {
        calculateTasksResults : function() {
            JsonC.callSfAction('tasks/calculateTasksResults');
        }
    }
}();
